<?php

include_once (__ALIPATH__.'/com/alibaba/openapi/client/entity/SDKDomain.class.php');
include_once (__ALIPATH__.'/com/alibaba/openapi/client/entity/ByteArray.class.php');
include_once (__DIR__.'/AlibabaProductPtsTagQueryParam/ComAlibabaOceanOpenplatformBizPtsResultPtsTagModel.class.php');
include_once (__DIR__.'/AlibabaProductPtsTagQueryParam/ComAlibabaOceanOpenplatformBizPtsResultScenePtsOfferStepModel.class.php');

class ComAlibabaOceanOpenplatformBizPtsResultPtsTagGroup extends SDKDomain {

       	
    private $groupId;
    
        /**
    * @return 保障服务分组id
    */
        public function getGroupId() {
        return $this->groupId;
    }
    
    /**
     * 设置保障服务分组id     
     * @param String $groupId     
     * 参数示例：<pre>1</pre>     
     * 此参数必填     */
    public function setGroupId( $groupId) {
        $this->groupId = $groupId;
    }
    
        	
    private $groupName;
    
        /**
    * @return 保障服务分组名
    */
        public function getGroupName() {
        return $this->groupName;
    }
    
    /**
     * 设置保障服务分组名     
     * @param String $groupName     
     * 参数示例：<pre>发货服务</pre>     
     * 此参数必填     */
    public function setGroupName( $groupName) {
        $this->groupName = $groupName;
    }
    
        	
    private $groupServiceCode;
    
        /**
    * @return 保障服务组Code
    */
        public function getGroupServiceCode() {
        return $this->groupServiceCode;
    }
    
    /**
     * 设置保障服务组Code     
     * @param String $groupServiceCode     
     * 参数示例：<pre>ZLBZ</pre>     
     * 此参数必填     */
    public function setGroupServiceCode( $groupServiceCode) {
        $this->groupServiceCode = $groupServiceCode;
    }
    
        	
    private $required;
    
        /**
    * @return 是否必选
    */
        public function getRequired() {
        return $this->required;
    }
    
    /**
     * 设置是否必选     
     * @param Boolean $required     
     * 参数示例：<pre>false</pre>     
     * 此参数必填     */
    public function setRequired( $required) {
        $this->required = $required;
    }
    
        	
    private $isMulti;
    
        /**
    * @return 是否支持多选
    */
        public function getIsMulti() {
        return $this->isMulti;
    }
    
    /**
     * 设置是否支持多选     
     * @param Boolean $isMulti     
     * 参数示例：<pre>true</pre>     
     * 此参数必填     */
    public function setIsMulti( $isMulti) {
        $this->isMulti = $isMulti;
    }
    
        	
    private $tagModels;
    
        /**
    * @return 当前分组的保障服务
    */
        public function getTagModels() {
        return $this->tagModels;
    }
    
    /**
     * 设置当前分组的保障服务     
     * @param array include @see ComAlibabaOceanOpenplatformBizPtsResultPtsTagModel[] $tagModels     
     * 参数示例：<pre>[]</pre>     
     * 此参数必填     */
    public function setTagModels(ComAlibabaOceanOpenplatformBizPtsResultPtsTagModel $tagModels) {
        $this->tagModels = $tagModels;
    }
    
        	
    private $tagMode;
    
        /**
    * @return 模式
    */
        public function getTagMode() {
        return $this->tagMode;
    }
    
    /**
     * 设置模式     
     * @param String $tagMode     
     * 参数示例：<pre>""</pre>     
     * 此参数必填     */
    public function setTagMode( $tagMode) {
        $this->tagMode = $tagMode;
    }
    
        	
    private $scenePtsOfferStepModels;
    
        /**
    * @return 阶梯服务保障设置模型
    */
        public function getScenePtsOfferStepModels() {
        return $this->scenePtsOfferStepModels;
    }
    
    /**
     * 设置阶梯服务保障设置模型     
     * @param array include @see ComAlibabaOceanOpenplatformBizPtsResultScenePtsOfferStepModel[] $scenePtsOfferStepModels     
     * 参数示例：<pre>{}</pre>     
     * 此参数必填     */
    public function setScenePtsOfferStepModels(ComAlibabaOceanOpenplatformBizPtsResultScenePtsOfferStepModel $scenePtsOfferStepModels) {
        $this->scenePtsOfferStepModels = $scenePtsOfferStepModels;
    }
    
    	
	private $stdResult;
	
	public function setStdResult($stdResult) {
		$this->stdResult = $stdResult;
					    			    			if (array_key_exists ( "groupId", $this->stdResult )) {
    				$this->groupId = $this->stdResult->{"groupId"};
    			}
    			    		    				    			    			if (array_key_exists ( "groupName", $this->stdResult )) {
    				$this->groupName = $this->stdResult->{"groupName"};
    			}
    			    		    				    			    			if (array_key_exists ( "groupServiceCode", $this->stdResult )) {
    				$this->groupServiceCode = $this->stdResult->{"groupServiceCode"};
    			}
    			    		    				    			    			if (array_key_exists ( "required", $this->stdResult )) {
    				$this->required = $this->stdResult->{"required"};
    			}
    			    		    				    			    			if (array_key_exists ( "isMulti", $this->stdResult )) {
    				$this->isMulti = $this->stdResult->{"isMulti"};
    			}
    			    		    				    			    			if (array_key_exists ( "tagModels", $this->stdResult )) {
    			$tagModelsResult=$this->stdResult->{"tagModels"};
    				$object = json_decode ( json_encode ( $tagModelsResult ), true );
					$this->tagModels = array ();
					for($i = 0; $i < count ( $object ); $i ++) {
						$arrayobject = new ArrayObject ( $object [$i] );
						$ComAlibabaOceanOpenplatformBizPtsResultPtsTagModelResult=new ComAlibabaOceanOpenplatformBizPtsResultPtsTagModel();
						$ComAlibabaOceanOpenplatformBizPtsResultPtsTagModelResult->setArrayResult($arrayobject );
						$this->tagModels [$i] = $ComAlibabaOceanOpenplatformBizPtsResultPtsTagModelResult;
					}
    			}
    			    		    				    			    			if (array_key_exists ( "tagMode", $this->stdResult )) {
    				$this->tagMode = $this->stdResult->{"tagMode"};
    			}
    			    		    				    			    			if (array_key_exists ( "scenePtsOfferStepModels", $this->stdResult )) {
    			$scenePtsOfferStepModelsResult=$this->stdResult->{"scenePtsOfferStepModels"};
    				$object = json_decode ( json_encode ( $scenePtsOfferStepModelsResult ), true );
					$this->scenePtsOfferStepModels = array ();
					for($i = 0; $i < count ( $object ); $i ++) {
						$arrayobject = new ArrayObject ( $object [$i] );
						$ComAlibabaOceanOpenplatformBizPtsResultScenePtsOfferStepModelResult=new ComAlibabaOceanOpenplatformBizPtsResultScenePtsOfferStepModel();
						$ComAlibabaOceanOpenplatformBizPtsResultScenePtsOfferStepModelResult->setArrayResult($arrayobject );
						$this->scenePtsOfferStepModels [$i] = $ComAlibabaOceanOpenplatformBizPtsResultScenePtsOfferStepModelResult;
					}
    			}
    			    		    		}
	
	private $arrayResult;
	public function setArrayResult($arrayResult) {
		$this->arrayResult = $arrayResult;
				    		    			if (array_key_exists ( "groupId", $this->arrayResult )) {
    			$this->groupId = $arrayResult['groupId'];
    			}
    		    	    			    		    			if (array_key_exists ( "groupName", $this->arrayResult )) {
    			$this->groupName = $arrayResult['groupName'];
    			}
    		    	    			    		    			if (array_key_exists ( "groupServiceCode", $this->arrayResult )) {
    			$this->groupServiceCode = $arrayResult['groupServiceCode'];
    			}
    		    	    			    		    			if (array_key_exists ( "required", $this->arrayResult )) {
    			$this->required = $arrayResult['required'];
    			}
    		    	    			    		    			if (array_key_exists ( "isMulti", $this->arrayResult )) {
    			$this->isMulti = $arrayResult['isMulti'];
    			}
    		    	    			    		    		if (array_key_exists ( "tagModels", $this->arrayResult )) {
    		$tagModelsResult=$arrayResult['tagModels'];
    			$this->tagModels = new ComAlibabaOceanOpenplatformBizPtsResultPtsTagModel();
    			$this->tagModels->setStdResult ( $tagModelsResult);
    		}
    		    	    			    		    			if (array_key_exists ( "tagMode", $this->arrayResult )) {
    			$this->tagMode = $arrayResult['tagMode'];
    			}
    		    	    			    		    		if (array_key_exists ( "scenePtsOfferStepModels", $this->arrayResult )) {
    		$scenePtsOfferStepModelsResult=$arrayResult['scenePtsOfferStepModels'];
    			$this->scenePtsOfferStepModels = new ComAlibabaOceanOpenplatformBizPtsResultScenePtsOfferStepModel();
    			$this->scenePtsOfferStepModels->setStdResult ( $scenePtsOfferStepModelsResult);
    		}
    		    	    		}
 
   
}
?>